export const totalDataO = [
  {
    label: '设备激活群总数',
    key: 'userWechatGroupTotalCount',
    alert: '选择时间段内的预估佣金数',
    unit: '个',
    precision: 0,
    icon: 'icon-yonghu'
  },
  {
    label: '微信消息数',
    key: 'sourceChatroomMessageTotalCount',
    alert: '选择时间段内的结算佣金数',
    unit: '条',
    precision: 0,
    icon: 'icon-xiaoxi'
  },
  {
    label: '发送商品总数',
    key: 'sourceChatroomGoodsTotalCount',
    alert: '选择时间段内的有效订单数',
    unit: '个',
    precision: 0,
    icon: 'icon-shangpin'
  },
  {
    label: '源头群挂设备数',
    key: 'sourceChatroomUserWechatTotalCount',
    alert: '选择时间段内的下单总人数',
    unit: '个',
    precision: 0,
    icon: 'icon-shouji'
  },
  {
    label: '源头群挂用户数',
    key: 'sourceChatroomUserTotalCount',
    alert: '选择时间段内新增用户的总数',
    unit: '个',
    precision: 0,
    icon: 'icon-yonghutouxiang'
  },
  {
    label: '源头群挂群数量',
    key: 'sourceChatroomUserWechatGroupTotalCount',
    alert: '截止当前时间累计用户的总数',
    unit: '个',
    precision: 0,
    icon: 'icon-yonghu'
  },
  // {
  //   label: '转链失败数量',
  //   key: 'userTotalCount',
  //   alert: '截止当前时间累计用户的总数',
  //   unit: '条',
  //   precision: 0,
  //   icon: 'icon-a-yinyonglianjie-2'
  // },
  // {
  //   label: '转链总数',
  //   key: 'userTotalCount',
  //   alert: '截止当前时间累计用户的总数',
  //   unit: '条',
  //   precision: 0,
  //   icon: 'icon-a-yinyonglianjie-2'
  // },
  {
    label: '爆品数量',
    key: 'sourceChatroomHotSaleGoodsCount',
    alert: '截止当前时间累计用户的总数',
    unit: '个',
    precision: 0,
    icon: 'icon-shangpin'
  },
  {
    label: '总订单',
    key: 'sourceChatroomTotalOrderCount',
    alert: '截止当前时间累计用户的总数',
    unit: '个',
    precision: 0,
    icon: 'icon-dingdandingdanmingxishouzhimingxi'
  },
  {
    label: '总GMV',
    key: 'sourceChatroomSumGmv',
    alert: '截止当前时间累计用户的总数',
    unit: '元',
    precision: 2,
    icon: 'icon-zu131'
  },
  {
    label: '总佣金',
    key: 'sourceChatroomSumCommission',
    alert: '截止当前时间累计用户的总数',
    unit: '元',
    precision: 2,
    icon: 'icon-zu131'
  }
]

export const graphDataChartOptionBar = {
  title: {
    text: '',
    left: 'center'
  },
  legend: {
    show: true,
    itemWidth: 14,
    itemHeight: 14
  },
  tooltip: {
    trigger: 'axis',
    axisPointer: {
      type: 'cross',
      crossStyle: {
        color: '#999'
      }
    }
  },
  grid: {
    left: '3%',
    right: '4%',
    bottom: '3%',
    containLabel: true
  },
  xAxis: {
    name: '时间',
    type: 'category',
    alignTicks: true,
    axisLine: {
      lineStyle: {
        type: 'solid'
      },
      symbol: ['none'],
      symbolSize: [13, 20],
      symbolOffset: [0, 40]
    },
    data: []
  },
  yAxis: {
    type: 'value',
    scale: true
  },
  series: {
    data: [],
    color: '#5470C6',
    smooth: true,
    itemStyle: {
      normal: {
        lineStyle: {
          width: 2,
          type: 'solid'
        }
      }
    },
    type: 'line'
  }
}
